<?php
return [
    'id'=>'customer-form',
    'template'=>'form_default',
    'enableClientValidation'=>false,
    'enableAjaxValidation'=>true,
    'options'=>['class'=>'form-validate'],
    'models'=>[
        'customer'=>[
            'title'=>'绑定卡号',
            'th_with'=>80,
            'elements'=>[
                'name'=>[
                    'type'=>'text',
                    'options'=>['class'=>'input-text', 'disabled'=>"disabled"]
                ],
                'card_id'=>[
                    'type'=>'text',
                    'options'=>['class'=>'input-text','autofocus'=>'autofocus', 'disabled'=>"disabled",'readonly'=>true]
                ],
                'pay_password'=>[
                    'type'=>'password',
                    'options'=>['class'=>'input-text','autofocus'=>'autofocus']
                ],
                'confirm_pay_password'=>[
                    'type'=>'password',
                    'options'=>['class'=>'input-text','autofocus'=>'autofocus']
                ],


            ],
        ]
    ]
];
